package com.performax.database.Vo;

public class CampaignVo {
	private	String no;
	private String cpnName;
	private String cpnId;
	private	String eCount;
	private	String eAmount;
	private	String startDt;
	private	String endDt;
	private	String remainDt;
	private	String status;
	private String adverName;
	private	int	   exAmount;
	private String imagefile;
	
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getCpnName() {
		return cpnName;
	}
	public void setCpnName(String cpnName) {
		this.cpnName = cpnName;
	}
	public String getCpnId() {
		return cpnId;
	}
	public void setCpnId(String cpnId) {
		this.cpnId = cpnId;
	}
	public String geteCount() {
		return eCount;
	}
	public void seteCount(String eCount) {
		this.eCount = eCount;
	}
	public String geteAmount() {
		return eAmount;
	}
	public void seteAmount(String eAmount) {
		this.eAmount = eAmount;
	}
	public String getStartDt() {
		return startDt;
	}
	public void setStartDt(String startDt) {
		this.startDt = startDt;
	}
	public String getEndDt() {
		return endDt;
	}
	public void setEndDt(String endDt) {
		this.endDt = endDt;
	}
	public String getRemainDt() {
		return remainDt;
	}
	public void setRemainDt(String remainDt) {
		this.remainDt = remainDt;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getAdverName() {
		return adverName;
	}
	public void setAdverName(String adverName) {
		this.adverName = adverName;
	}
	
	public int getExAmount() {
		if(eCount==	null || eCount.equals("")){
			return 0;
		}
		
		if(eAmount==null || eAmount.equals("")){
			return 0;
		}
		
		this.exAmount	=	 Integer.parseInt(eCount) * Integer.parseInt(eAmount);
		
		return exAmount;
	}
	
	public String getImagefile() {
		return imagefile;
	}
	public void setImagefile(String imagefile) {
		this.imagefile = imagefile;
	}
	
	
}
